package com.joyintech.vo.depositProdList.resp;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlProperty;

@JsonIgnoreProperties(ignoreUnknown = true)
public class Line {

    /**
     * 产品代码 格式为法人行号+TD2+5位序号
     */
    @JacksonXmlProperty(localName = "CODE")
    private String code;

    /**
     * 产品简称
     */
    @JacksonXmlProperty(localName = "SHORT-NAME-60")
    private String shortName;

    /**
     * 产品期限 00030：一个月
     *             00090：三个月
     * 00180：六个月
     * 00270：九个月
     * 00360：一年
     * 00540：一年半
     * 00720：两年
     * 01080：三年
     * 01800：五年
     */
    @JacksonXmlProperty(localName = "DURATION")
    private String duration;

    /**
     * 产品启用日期 发行起始日查询区间
     */
    @JacksonXmlProperty(localName = "START-DT")
    private String startDt;

    /**
     * 产品有效日期 发行终止日查询区间
     */
    @JacksonXmlProperty(localName = "EXP-DT")
    private String expDt;

    /**
     * 个人起点金额
     */
    @JacksonXmlProperty(localName = "PVT-FDEP-AMT")
    private String pvtFdepAmt;

    /**
     * 单位起点金额
     */
    @JacksonXmlProperty(localName = "PUB-FDEP-AMT")
    private String pubFdepAmt;

    /**
     * 个人递增金额
     */
    @JacksonXmlProperty(localName = "PVT-BASIC-AMT")
    private String pvtBasicAmt;

    /**
     * 单位递增金额
     */
    @JacksonXmlProperty(localName = "PUB-BASIC-AMT")
    private String pubBasicAmt;

    /**
     * 产品描述
     */
    @JacksonXmlProperty(localName = "DES")
    private String des;

    /**
     * 利率
     */
    @JacksonXmlProperty(localName = "INPUT-INIR")
    private String inputInir;

    /**
     * 产品终止销售时间
     */
    @JacksonXmlProperty(localName = "PD-EXP-TIME")
    private String pdExpTime;

    public String getPdExpTime() {
        return pdExpTime;
    }

    public void setPdExpTime(String pdExpTime) {
        this.pdExpTime = pdExpTime;
    }

    public String getInputInir() {
        return inputInir;
    }

    public void setInputInir(String inputInir) {
        this.inputInir = inputInir;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getShortName() {
        return shortName;
    }

    public void setShortName(String shortName) {
        this.shortName = shortName;
    }

    public String getDuration() {
        return duration;
    }

    public void setDuration(String duration) {
        this.duration = duration;
    }

    public String getStartDt() {
        return startDt;
    }

    public void setStartDt(String startDt) {
        this.startDt = startDt;
    }

    public String getExpDt() {
        return expDt;
    }

    public void setExpDt(String expDt) {
        this.expDt = expDt;
    }

    public String getPvtFdepAmt() {
        return pvtFdepAmt;
    }

    public void setPvtFdepAmt(String pvtFdepAmt) {
        this.pvtFdepAmt = pvtFdepAmt;
    }

    public String getPubFdepAmt() {
        return pubFdepAmt;
    }

    public void setPubFdepAmt(String pubFdepAmt) {
        this.pubFdepAmt = pubFdepAmt;
    }

    public String getPvtBasicAmt() {
        return pvtBasicAmt;
    }

    public void setPvtBasicAmt(String pvtBasicAmt) {
        this.pvtBasicAmt = pvtBasicAmt;
    }

    public String getPubBasicAmt() {
        return pubBasicAmt;
    }

    public void setPubBasicAmt(String pubBasicAmt) {
        this.pubBasicAmt = pubBasicAmt;
    }

    public String getDes() {
        return des;
    }

    public void setDes(String des) {
        this.des = des;
    }

    @Override
    public String toString() {
        return "Line{" +
                "code='" + code + '\'' +
                ", shortName='" + shortName + '\'' +
                ", duration='" + duration + '\'' +
                ", startDt='" + startDt + '\'' +
                ", expDt='" + expDt + '\'' +
                ", pvtFdepAmt='" + pvtFdepAmt + '\'' +
                ", pubFdepAmt='" + pubFdepAmt + '\'' +
                ", pvtBasicAmt='" + pvtBasicAmt + '\'' +
                ", pubBasicAmt='" + pubBasicAmt + '\'' +
                ", des='" + des + '\'' +
                '}';
    }
}
